/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package de.swta;

import org.apache.wicket.markup.html.basic.Label;

/**
 *
 * @author JKorreck
 */
public class ConfirmDeleteItemPage extends AbstractConfirmDeletePage {

    private static final String STD_MESSAGE = "Delete!";

    public ConfirmDeleteItemPage() {
        super(STD_MESSAGE);
    }


    public ConfirmDeleteItemPage(String message) {
        super(message);
    }


    @Override
    protected void onCancel() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    protected void onConfirm() {
        throw new UnsupportedOperationException("Not supported yet.");
    }


    public void setMessage(String message) {
        ((Label) super.get("message")).info(message);
    }
}
